Coverage Report for Altitude_Mode

Table Of Contents

  1. Analysis Information
  2. Tests
  3. Summary
  4. Details
  5. Signal Ranges

Analysis Information

Model Information

  Model Version   1.100
  Author   bpotter
  Last Saved   Tue Jan 28 07:23:32 2014

Simulation Optimization Options

  Inline Parameters   on
  Block Reduction   off
  Conditional Branch Optimization   on

Coverage Options

  Analyzed model   Altitude_Mode
  Logic block short circuiting   off

Blocks Eliminated from Coverage Analysis

Model Object Rationale
Altitude_Mode/ResetIntegratorExternal/Product1 Conditionally executed block
Altitude_Mode/ResetIntegratorExternal/Sum Conditionally executed block

Tests

Test 1, Current Run

Started Execution: 03-Feb-2014 07:51:51
Ended Execution: 03-Feb-2014 07:51:53

Test 2, Delta

Started Execution: 03-Feb-2014 07:47:23
Ended Execution: 03-Feb-2014 07:51:53

Test 3, Cumulative

Started Execution: 03-Feb-2014 07:47:23
Ended Execution: 03-Feb-2014 07:51:53

Summary

Model Hierarchy/Complexity: Current Run   Delta   Cumulative  
D1 C1 TBL Saturation on Overflow   D1 C1 TBL Saturation on Overflow   D1 C1 TBL Saturation on Overflow  
1. Altitude_Mode 11 70%
  
100%
  
22%
  
50%
  
  0%
  
0%
  
0%
  
0%
  
  75%
  
100%
  
56%
  
50%
  
 
2. . . . Angle Conversion 0 NA NA NA 50%
  
  NA NA NA 0%
  
  NA NA NA 50%
  
 
3. . . . Angle Conversion1 0 NA NA NA 50%
  
  NA NA NA 0%
  
  NA NA NA 50%
  
 
4. . . . Rate Limiter 2 75%
  
NA NA NA   0%
  
NA NA NA   75%
  
NA NA NA  
5. . . . . . . Saturation Dynamic 2 75%
  
NA NA NA   0%
  
NA NA NA   75%
  
NA NA NA  
6. . . . ResetIntegratorExternal 4 75%
  
NA NA NA   0%
  
NA NA NA   88%
  
NA NA NA  

Details

1. Model "Altitude_Mode"

Child Systems: Angle Conversion,  Angle Conversion1,  Rate Limiter,  ResetIntegratorExternal

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 1 11
Condition (C1) NA 100% (2/2) condition outcomes
Decision (D1) NA 75% (15/20) decision outcomes
Look-up Table NA 56% (5/9)interpolation/extrapolation intervals
Saturation on Overflow NA 50% (2/4) objective outcomes

   Logic block "Not ALT"

Parent: /Altitude_Mode

Metric Coverage
Cyclomatic Complexity 0
Condition (C1) 100% (2/2) condition outcomes

  Conditions analyzed:
Description: #1 T #1 F #2 T #2 F Tot T Tot F
  input port 1 961 40 0 0 19220 800

   Lookup_n-D block "Lookup Table"

Parent: /Altitude_Mode
Uncovered Links:  Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Look-up Table 56% (5/9)interpolation/extrapolation intervals

  Look-up Table Details
0
1 - 5000
5001 - 10000
10001 - 15000
15001 - 20000
> 20000

   MinMax block "MinMax"

Parent: /Altitude_Mode
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision (D1) 50% (1/2) decision outcomes

  Decisions analyzed:
  Logic to determine output 50% 0% 50%
      input 1 is the maximum 1001/1001 0/0 20020/20020
      input 2 is the maximum 0/1001 0/0 0/20020

   Saturate block "Saturation"

Parent: /Altitude_Mode
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 2
Decision (D1) 50% (2/4) decision outcomes

  Decisions analyzed:
  input > lower limit 50% 0% 50%
      false 0/1001 0/0 0/20020
      true 1001/1001 0/0 20020/20020
  input >= upper limit 50% 0% 50%
      false 1001/1001 0/0 20020/20020
      true 0/1001 0/0 0/20020

   Switch block "Switch"

Parent: /Altitude_Mode

Metric Coverage
Cyclomatic Complexity 1
Decision (D1) 100% (2/2) decision outcomes

  Decisions analyzed:
  logical trigger input 100% 0% 100%
      false (output is from 3rd input port) 961/1001 0/0 19220/20020
      true (output is from 1st input port) 40/1001 0/0 800/20020

2. SubSystem block "Angle Conversion"

Parent: /Altitude_Mode

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Saturation on Overflow NA 50% (1/2) objective outcomes

   Gain block "Unit Conversion"

Parent: Altitude_Mode/Angle Conversion
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Saturation on Overflow 50% (1/2) objective outcomes

  Saturation on Overflow analyzed:
  Saturate on integer overflow 50% 0% 50%
      false 1001/1001 0/0 20020/20020
      true 0/1001 0/0 0/20020

3. SubSystem block "Angle Conversion1"

Parent: /Altitude_Mode

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 0
Saturation on Overflow NA 50% (1/2) objective outcomes

   Gain block "Unit Conversion"

Parent: Altitude_Mode/Angle Conversion1
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 0
Saturation on Overflow 50% (1/2) objective outcomes

  Saturation on Overflow analyzed:
  Saturate on integer overflow 50% 0% 50%
      false 1001/1001 0/0 20020/20020
      true 0/1001 0/0 0/20020

4. SubSystem block "Rate Limiter"

Parent: /Altitude_Mode
Child Systems: Saturation Dynamic

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 2
Decision (D1) NA 75% (3/4) decision outcomes

5. SubSystem block "Saturation Dynamic"

Parent: Altitude_Mode/Rate Limiter

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 2
Decision (D1) NA 75% (3/4) decision outcomes

   Switch block "Switch"

Parent: Altitude_Mode/Rate Limiter/Saturation Dynamic
Uncovered Links:  Previous uncovered object Next uncovered object

Metric Coverage
Cyclomatic Complexity 1
Decision (D1) 50% (1/2) decision outcomes

  Decisions analyzed:
  logical trigger input 50% 0% 50%
      false (output is from 3rd input port) 1001/1001 0/0 20020/20020
      true (output is from 1st input port) 0/1001 0/0 0/20020

   Switch block "Switch2"

Parent: Altitude_Mode/Rate Limiter/Saturation Dynamic

Metric Coverage
Cyclomatic Complexity 1
Decision (D1) 100% (2/2) decision outcomes

  Decisions analyzed:
  logical trigger input 100% 0% 100%
      false (output is from 3rd input port) 978/1001 0/0 19120/20020
      true (output is from 1st input port) 23/1001 0/0 900/20020

6. SubSystem block "ResetIntegratorExternal"

Parent: /Altitude_Mode

Metric Coverage (this object) Coverage (inc. descendants)
Cyclomatic Complexity 0 4
Decision (D1) NA 88% (7/8) decision outcomes

   Saturate block "Saturation"

Parent: Altitude_Mode/ResetIntegratorExternal
Uncovered Links:  Previous uncovered object

Metric Coverage
Cyclomatic Complexity 2
Decision (D1) 75% (3/4) decision outcomes

  Decisions analyzed:
  input > lower limit 50% 0% 50%
      false 0/1001 0/0 0/17117
      true 1001/1001 0/0 17117/17117
  input >= upper limit 50% 0% 100%
      false 1001/1001 0/0 17117/20020
      true 0/1001 0/0 2903/20020

   Switch block "Switch"

Parent: Altitude_Mode/ResetIntegratorExternal

Metric Coverage
Cyclomatic Complexity 1
Decision (D1) 100% (2/2) decision outcomes

  Decisions analyzed:
  logical trigger input 100% 0% 100%
      false (output is from 3rd input port) 961/1001 0/0 19220/20020
      true (output is from 1st input port) 40/1001 0/0 800/20020

   Switch block "Switch1"

Parent: Altitude_Mode/ResetIntegratorExternal

Metric Coverage
Cyclomatic Complexity 1
Decision (D1) 100% (2/2) decision outcomes

  Decisions analyzed:
  logical trigger input 100% 0% 100%
      false (output is from 3rd input port) 961/1001 0/0 19220/20020
      true (output is from 1st input port) 40/1001 0/0 800/20020

Signal Ranges

Hierarchy Test 1 Test 2 Overall
Min Max Min Max Min Max
Altitude_Mode  
. . . Not ALT   0 1 - - 0 1
. . . Lookup Table   0.147638 14.8265 - - -0.706635 26
. . . MinMax   147.646 153.899 - - 142.296 158.215
. . . Saturation   0.0567172 8.65367 - - -2.87829 13.71
. . . Switch   6.44 32.2 - - 6.44 32.2
. . . negate   -12.4956 -2.39757 - - -12.518 -2.33218
. . . Gamma Cmd   0.000989902 0.151035 - - -0.0502356 0.239284
. . . Product   0.0418455 0.218089 - - 0.0407042 0.218481
. . . Sum   0.590551 71.4827 - - -2.82654 225.108
. . . Sum1   0.146155 23.1636 - - -7.41711 37.0089
. . . Sum2   7.34532 28.5123 - - 7.0876 33.71
. . . Sum3   2.92896 7.996 - - -2.68949 10.3437
. . . ALT G limit   6.44 6.44 - - 6.44 6.44
. . . Min TAS   100 100 - - 100 100
. . . Other G limit   32.2 32.2 - - 32.2 32.2
. . . Angle Conversion  
. . . . . . Unit Conversion   2.39757 12.4956 - - 2.33218 12.518
. . . Angle Conversion1  
. . . . . . Unit Conversion   0.0567172 8.65367 - - -2.87829 13.71
. . . Rate Limiter  
. . . . . . Difference Inputs2   0.312389 28.5123 - - 0.312389 33.71
. . . . . . Probe  
. . . . . . . . . out[1] 0 0 - - 0 0
. . . . . . . . . out[2] 0 0 - - 0 0
. . . . . . Saturation Dynamic  
. . . . . . . . . Switch   -0.00259296 7.46542 - - -0.012198 7.46542
. . . . . . . . . Switch2   -0.00259296 0.312389 - - -0.012198 0.312951
. . . ResetIntegratorExternal  
. . . . . . Saturation   6.47856 19.8587 - - 3.8266 20
. . . . . . Switch   6.47856 19.8587 - - 3.8266 20.0685
. . . . . . Switch1   6.47856 19.9019 - - 3.8266 20.0685
. . . . . . Product   0.005 0.005 - - 0.005 0.005
. . . . . . Product1   0.000948635 0.0432683 - - -0.000914011 0.0685498
. . . . . . Sum   6.48296 19.9019 - - 3.84457 20.0685
. . . . . . Constant   0.2 0.2 - - 0.2 0.2
. . . . . . Constant1   0.025 0.025 - - 0.025 0.025
. . . . . . X   0 19.8587 - - 0 20.0685